﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="leftMenu.aspx.cs" Inherits="WuxiWTO.Web.backend.leftMenu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        *
        {
            list-style: none;
        }
        body
        {
            margin: 0px;
        }
        .common_text
        {
            font-size: 12px;
            color: #FFFFFF;
            position: absolute;
            left: 26px;
            top: 6px;
        }
        .menu_title SPAN
        {
            font-weight: bold;
            left: 3px;
            color: #ffffff;
            position: relative;
            top: 2px;
        }
        .menu_title2 SPAN
        {
            font-weight: bold;
            left: 3px;
            color: #FFCC00;
            position: relative;
            top: 2px;
        }
        .link_text
        {
            font-size: 12px;
            color: #033d61;
            float: left;
            padding-top: 4px;
            width: 70%;
            text-align: left;
            cursor: pointer;
        }
        a
        {
            text-decoration: none;
            color: #033d61;
        }
        .container
        {
            width: 165px;
            height: 100%;
            border: 0px;
        }
        .menu_pic
        {
            height: 21px;
            background-image: url(images/main_40.gif);
            padding-top: 7px;
        }
        .menu_pic span
        {
            margin-left: 30px;
            font-size: 12px;
            color: #FFF;
        }
        .submenu
        {
            width: 165px;
            border: 0px;
            padding-bottom: 5px;
        }
        .submenu_top
        {
            position: relative;
            background-image: url(images/main_47.gif);
            height: 23px;
            width: 151px;
            text-align: left;
            vertical-align: text-bottom;
            cursor: pointer;
        }
        .submenu_tab
        {
            width: 151px;
            background-image: url(images/main_51.gif);
        }
        .submenu_tab ul
        {
            float: left;
            padding: 0;
            margin: 0;
            width: 95%;
            margin-left: 2px;
        }
        .submenu_tab ul li
        {
            height: 20px;
            width: 100%;
            padding: 0;
            margin: 0;
            float: left;
        }
        .submenu_bottom
        {
            height: 5px;
            width: 151px;
            background-image: url(images/main_52.gif);
        }
        .icon
        {
            width: 16%;
            text-align: center;
            float: left;
            height: 20px;
            padding: 5px;
        }
        .clear
        {
            display: block;
            font-size: 12px !important;
            font-size: 0px;
            line-height: 0px;
            clear: both;
        }
        .link_text a
        {
            display: block;
        }
    </style>
    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".link_text").mouseover(function () {
                $(this).css("border", "solid 1px #7bc4d3");
            });
            $(".link_text").mouseout(function () {
                $(this).css("border", "0px");
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="menu_pic">
            <span>菜单管理</span>
        </div>
        <%
            if (adminType == "1")
            {
        %>
        <div class="submenu" align="center">
            <div class="submenu_top" id="imgmenu2" onclick="showsubmenu(2)">
                <span class="common_text">内容页面管理</span>
            </div>
            <div class="submenu_tab" id="submenu2">
                <ul>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="categoryedit.aspx" target="contentFrame">新建内容分类</a>
                        </span></li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="categoryList.aspx" target="contentFrame">内容分类管理</a>
                        </span></li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="articleEdit.aspx" target="contentFrame">新建内容页面</a>
                        </span></li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="articleList.aspx" target="contentFrame">内容页面管理</a>
                        </span></li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="imageNewsList.aspx" target="contentFrame">图片新闻管理</a>
                        </span></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="submenu_bottom">
            </div>
        </div>
        <%} %>
        <div class="submenu" align="center">
            <div class="submenu_top" id="imgmenu3" onclick="showsubmenu(3)">
                <span class="common_text">用户管理</span>
            </div>
            <div class="submenu_tab" id="submenu3">
                <ul>
                    <%
                        if (adminType == "1")//超级管理员
                        {
                    %>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="adminList.aspx" target="contentFrame">管理员列表</a></span>
                    </li>
                    <%} %>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="userList.aspx" target="contentFrame">用户列表</a></span>
                    </li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="submenu_bottom">
            </div>
        </div>
        <div class="submenu" align="center">
            <div class="submenu_top" id="imgmenu4" onclick="showsubmenu(4)">
                <span class="common_text">业务管理</span>
            </div>
            <div class="submenu_tab" id="submenu4">
                <ul>
                    <%
                        if (adminType == "1" || adminType == "2")//外商服务中心的用户角色
                        {
                    %>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="ManageComplain.aspx" target="contentFrame">外商咨询投诉处理</a></span>
                    </li>
                    <%} %>
                    <%
                        if (adminType == "3")//外商服务中心的用户角色,当前功能已经删除了
                        {
                    %>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="shoppingProductsKind.aspx" target="contentFrame">用户培训报名管理</a></span>
                    </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="ProductList.aspx" target="contentFrame">培训课程管理</a></span>
                    </li>
                    <%} %>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="topCompany.aspx" target="contentFrame">世界500强在无锡</a></span>
                    </li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="submenu_bottom">
            </div>
        </div>
        <%
            if (adminType == "1")
            {
        %>
        <div class="submenu" align="center">
            <div class="submenu_top" id="imgmenu6" onclick="showsubmenu(6)">
                <span class="common_text">投资无锡</span>
            </div>
            <div class="submenu_tab" id="submenu6">
                <ul>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=1" target="contentFrame">
                            技术环境</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=2" target="contentFrame">
                            开发园区</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=3" target="contentFrame">
                            技术产业</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=4" target="contentFrame">
                            高端服务</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=5" target="contentFrame">
                            人才资源</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=6" target="contentFrame">
                            基础设施</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=7" target="contentFrame">
                            物流通关</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=8" target="contentFrame">
                            人居环境</a></span> </li>
                     <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="hardcodingArticle.aspx?id=9" target="contentFrame">
                            外商投资审批流程</a></span> </li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="submenu_bottom">
            </div>
        </div>
         <div class="submenu" align="center">
            <div class="submenu_top" id="imgmenu7" onclick="showsubmenu(7)">
                <span class="common_text">Flash内容管理</span>
            </div>
            <div class="submenu_tab" id="submenu7">
                <ul>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="flashArticle.aspx?id=1" target="contentFrame">
                            生态城和宜居城</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="flashArticle.aspx?id=2" target="contentFrame">
                            高科技产业城</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="flashArticle.aspx?id=3" target="contentFrame">
                            旅游与现代服务城</a></span> </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="flashArticle.aspx?id=4" target="contentFrame">
                            政府支持</a></span> </li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="submenu_bottom">
            </div>
        </div>
        <div class="submenu" align="center">
            <div class="submenu_top" id="imgmenu5" onclick="showsubmenu(5)">
                <span class="common_text">网站设置</span>
            </div>
            <div class="submenu_tab" id="submenu5">
                <ul>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="SiteSetting.aspx" target="contentFrame">网站信息设置</a></span>
                    </li>
                    <li>
                        <div class="icon">
                            <img alt="" src="images/left.gif" width="10" height="10" /></div>
                        <span class="link_text"><a href="friendLinkList.aspx" target="contentFrame">友情链接管理</a></span>
                    </li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="submenu_bottom">
            </div>
        </div>
        <%} %>
    </div>
    <script type="text/javascript">
        function showsubmenu(sid) {
            whichEl = eval("submenu" + sid);
            imgmenu = eval("imgmenu" + sid);
            $(whichEl).slideToggle("normal");
            //        if (whichEl.style.display == "none") {
            //            eval("submenu" + sid + ".style.display=\"\";");
            //            imgmenu.background = "images/main_47.gif";
            //        }
            //        else {
            //            eval("submenu" + sid + ".style.display=\"none\";");
            //            imgmenu.background = "images/main_48.gif";
            //        }
        }
    </script>
    </form>
</body>
</html>
